module.exports = {
  lintOnSave: false,
  devServer: {
    proxy: {
      "/index.php": {
        target: "http://www.qinqin.net", // 跨域地址
        changeOrigin: true, //是否跨域
      },
      "/api": {
        target: "http://cmsjapi.ffquan.cn",
        changeOrigin: true,
      },
    },
  },
};

//http://www.qinqin.net/index.php?r=class/index&type=2
//http://localhost:8080/index.php?r=class/index&type=2
//http://cmsjapi.ffquan.cn/api/category/single/page/get-single-page?pageId=1&tuserId=771131&entityId=
//http://www.qinqin.net/index.php?r=class%2Fajaxsub&page=1&cid=8122&px=t&cac_id=
